package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓库管理对象 warehouse_management
 *
 * @author ruoyi
 * @date 2025-05-29
 */
public class WarehouseManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 是否为默认仓库，默认为FALSE */
    @Excel(name = "是否为默认仓库，默认为FALSE")
    private Integer isDefaultWarehouse;

    /** 仓库名称，不能为空 */
    @Excel(name = "仓库名称，不能为空")
    private String warehouseName;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 仓库地址（通常指省市区等大范围地址） */
    @Excel(name = "仓库地址", readConverterExp = "通=常指省市区等大范围地址")
    private String warehouseAddress;

    /** 详细地址（街道、门牌号等具体地址） */
    @Excel(name = "详细地址", readConverterExp = "街=道、门牌号等具体地址")
    private String detailedAddress;

    /** 状态，默认为正常 */
    @Excel(name = "状态，默认为正常")
    private String status;

    /** 备注信息，用于记录仓库的额外说明 */
    @Excel(name = "备注信息，用于记录仓库的额外说明")
    private String notes;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setIsDefaultWarehouse(Integer isDefaultWarehouse)
    {
        this.isDefaultWarehouse = isDefaultWarehouse;
    }

    public Integer getIsDefaultWarehouse()
    {
        return isDefaultWarehouse;
    }

    public void setWarehouseName(String warehouseName)
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName()
    {
        return warehouseName;
    }

    public void setContactPerson(String contactPerson)
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson()
    {
        return contactPerson;
    }

    public void setContactPhone(String contactPhone)
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone()
    {
        return contactPhone;
    }

    public void setWarehouseAddress(String warehouseAddress)
    {
        this.warehouseAddress = warehouseAddress;
    }

    public String getWarehouseAddress()
    {
        return warehouseAddress;
    }

    public void setDetailedAddress(String detailedAddress)
    {
        this.detailedAddress = detailedAddress;
    }

    public String getDetailedAddress()
    {
        return detailedAddress;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setNotes(String notes)
    {
        this.notes = notes;
    }

    public String getNotes()
    {
        return notes;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("isDefaultWarehouse", getIsDefaultWarehouse())
                .append("warehouseName", getWarehouseName())
                .append("contactPerson", getContactPerson())
                .append("contactPhone", getContactPhone())
                .append("warehouseAddress", getWarehouseAddress())
                .append("detailedAddress", getDetailedAddress())
                .append("status", getStatus())
                .append("notes", getNotes())
                .append("phone", getPhone())
                .toString();
    }
}
